import { defineStore } from "pinia";

const scanBookStore = defineStore("scanBook", {
  state: () => ({
    actionTabList: [
      {
        icon: "/static/scan/home_return_book.png",
        title: "我要借书",
        intro: "扫码自助借阅图书",
        key: "borrow",
      },
      {
        icon: "/static/scan/home_borrow.png",
        title: "我要还书",
        intro: "扫码自助归还图书",
        key: "return",
      },
      {
        icon: "/static/scan/33.png",
        title: "借书查询",
        intro: "查看我的借书记录",
        key: "borrowRecord",
      },
      {
        icon: "/static/scan/44.png",
        title: "还书查询",
        intro: "查看我的还书记录",
        key: "returnRecord",
      },
    ],
  }),
});

export { scanBookStore };
